/*
 * @Author: zhangweinan
 * @Date: 2023-02-02 15:07:54
 * @LastEditors: zhangweinan
 * @LastEditTime: 2023-02-13 10:36:44
 * @Description: file content
 * @FilePath: \front-end-of-task-center\src\api\bpm\processStatistics.js
 */
import request from '@/utils/request'

export function getMyTask() {
  return request({
    url: '/bpm/task-statistics/getMyTask',
    method: 'get',
  })
}

//流程待办分类统计
export function getProcessModelDue() {
  return request({
    url: "/bpm/task-statistics/getProcessModelDue",
    method: "get",
  });
}
//任务耗时-日走势
export function getHourDurationDateLine() {
  return request({
    url: "/bpm/task-statistics/getHourDurationDateLine",
    method: "get",
  });
}
//部门完成情况
export function getDeptTaskInfo() {
  return request({
    url: "/bpm/task-statistics/getDeptTaskInfo",
    method: "get",
  });
}
//获取用户流程处理数量走势
export function getUserTaskLine() {
  return request({
    url: "/bpm/task-statistics/getUserTaskLine",
    method: "get",
  });
}
//流程逾期统计
export function getTimeOutLine() {
  return request({
    url: "/bpm/task-statistics/getTimeOutLine",
    method: "get",
  });
}